package com.heima.utils.common;

import java.util.UUID;

public class CodeGeneratorUtil {
    private CodeGeneratorUtil(){}

    public static String getFourLengthCode(){
      return   UUID.randomUUID().toString().replace("-","").substring(0,4);
    }
}
